<template>
  <fieldset>
    <legend>好友</legend>
    <ul>
      <li>小吴</li>
      <li>李一</li>
      <li>李二</li>
      <li>李三</li>
      <li>路由动态参数{{ $route.params }}</li>
    </ul>
    <fieldset>
      <legend>购物车数据</legend>
      <ul>
        <li>123</li>
      </ul>
    </fieldset>
  </fieldset>
</template>
<script>
export default {
  mounted() {
    // console.log("$route", this.$route);
    // console.log("$router", this.$router);
    // console.log(this.$route.params === this.$router.history.current.params);
    this.$store.dispatch('FETCH_PRO')

  },
};
</script>